<?php
class TimelineUserModel extends ViewModel{
    public $viewFields = array( 
        'Timeline'=>array('_type'=>'LEFT',
                    '*',
        ),
        'Account'=>array('_type'=>'LEFT',
                    '_on'=>'Account.uid=Timeline.uid',
                    'name'=>'name',
                    'photo'=>'photo',
                    
        ),
    );
    public function _initialize(){
        $this->order('stamp DESC')->limit(10);
    }
}
?>